<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="__THEMES__/style/common.css" />
       	<link rel="stylesheet" type="text/css" href="__THEMES__/style/admin_ui.css" />
       	<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
       	<script type="text/javascript" src="__JS__/jQuery/plugin/troperate.js"></script>
       	<include file="Public:js_navigation" />
        <include file="Public:js_sidebar" />
		<title>{:C('ADMIN_TITLE')}</title>
	</head>
	<body>
		<include file="Public:header" />
        
        <div class="layout">
            
            <include file="Public:position" />
            
            <table class="warp" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="sidebar" valign="top">
                        <include file="Public:sidebar" />
                    </td>
                    <td class="contents" valign="top">
                        
                        <div class="button">
				    		<a href="{:U('add?tag='.$_GET['tag'])}" class="default_button" id="add_archives"><span></span>发布文档/文章</a>
				    	</div>
	                    
                        <form action="__URL__/moveCatelog" method="post">
                        <div class="a_table">
					    	<table cellspacing="1" width="100%" class="gr_list">
								<tr style="background: #f0f7ff; font-weight: bold;">
									<td width="20" height="20"><input type="checkbox" name="all" /></td>
									<td width="60" align="center">编号</td>
									<td align="center">名称</td>
									<td align="center">分类</td>
									<td width="100" align="center">状态</td>
									<td width="160" align="center">操作</td>
								</tr>
								<volist id="vo" name="list">
								<tr rel="{$vo['id']}" class="row_color" bgcolor="#f9f9f9">
									<td><input type="checkbox" name="ids[]" value="{$vo.id}" /></td>
									<td align="center">{$vo['id']}</td>
									<td><php>if(!empty($vo['thumb']) && $vo['thumb'] != 'no_thumb.jpg'){</php> <img src="__PUBLIC__/images/icon_picture.png" align="absmiddle" /> <php>}</php><a href="{:U('edit',array(
										'id' => $vo['id'],
										'cid' => $vo['cid'],
										'tag' => $_GET['tag'],
									))}">{$vo['title']}</a></td>
									<td align="center">{$vo['cid']|getParentCategory}</td>
									<td align="center">{$vo['status']|getStatus}</td>
									<td align="center">
										{$vo['status']|showStatus=$vo['id'],'navTabAjaxMenu'}<span class="action_line">&nbsp;&nbsp;|&nbsp;&nbsp;</span><a href="{:U('edit',array(
										'id' => $vo['id'],
										'cid' => $vo['cid'],
										'tag' => $_GET['tag'],
									))}" class="edit_model">编辑</a><span class="action_line">&nbsp;&nbsp;|&nbsp;&nbsp;</span><a href="{:U('delete',array('id' => $vo['id']))}" class="del_node" rel="{$vo.id}">删除</a>
									</td>
								</tr>
								</volist>
							</table>
							<div class="page">{$page}</div>
							
							<div class="action_form">
								
								<select name="cid" class="input_text">
									<option value="">移动到 &raquo;</option>
									{$option}
								</select>
								<input type="submit" name="movecatelog" value="移动" />
								
							</div>
							
							</form>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        
        <include file="Public:footer" />
	</body>
</html>